package com.atguigu.common.constant;

import com.mysql.cj.jdbc.ha.MultiHostMySQLConnection;

/**
 * 通用的常量信息
 */
public class ProductConstant {
    /**
     * 属性枚举
     */
    public enum AttrEnum {
        ATTR_BASE(1, "基本属性"), ATTR_SALE(0, "销售属性");
        private int code;
        private String msg;

        AttrEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
